/* 声明字体图标  要注意路径变化*/
@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?tomleg');
    src:  url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?tomleg') format('truetype'),
      url('../fonts/icomoon.woff?tomleg') format('woff'),
      url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
/* 版心 */
.w{
    width: 1200px;
    margin: 0 auto;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
.style_red{
    color: #c81623;

}
/* 快捷导航模块 */
.shortcut{
    height: 31px;
    line-height: 31px;
    background-color: #f1f1f1;
}
.shortcut ul li{
    float: left;
}
/* 选择所有偶数的li */
.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666666;
    margin: 9px 15px 0; 
}

.arrow-icon::after {
    content: '\e91e';
    font-family: 'icomoon';
    margin-left: 10px;
}
/* 头部制作header */
.header{
    position: relative;
    height: 105px;
}
.logo{
    position: absolute;
    top:25px;
    width: 171px;
    height: 61px;
    
}
.logo a{
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
     /* font-size: 0; 京东做法*/
     /* 淘宝做法，让文字隐藏 */
    text-indent: -9999px;
    overflow: hidden;
}
.search{
    position: absolute;
    left: 346px;
    top: 25px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}
.search input{
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}
.search button{
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    font-size: 16px;
    color: #fff;
}
.hotwords{
    position: absolute;
    left: 360px;
    top: 67px;
}
.hotwords a{
    font-size: 12px;
    margin: 0 10px;

}
/* shopcar模块 */
.shopcar{
    position: absolute;
    right: 60px;
    top: 25px;
    width: 140px;
    height: 35px;
    line-height: 35px;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
    text-align: center;
    
}
.shopcar::before{
    font-family: 'icomoon';
    content: '\e93a';
    margin-right: 5px;
    color: #da5555;
}
.shopcar::after{
    font-family: 'icomoon';
    content: '\e920';
    margin-left: 10px;
}
.count{
    position: absolute;
    /* 写left，这样可以左对齐，数值大也不影响 */
    left: 105px;
    top: -4px;
    /* 不要给宽度 防止数字太大 */
    /* width: 16px; */
    height: 14px;
    padding: 0 5px;
    line-height: 14px;
    border-radius: 7px 7px 7px 0;
    background-color: #e60012;
    color: #fff;
}
/* nav模块制作 */
.nav{
    height: 47px;
    border-bottom: 2px solid #b1191a;
}
.dropdown{
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}
.dropdown .dt{
    width: 100%;
    height: 100%;
    margin-top: 2px;
    color: #fff;
    font-size: 16px;
    line-height: 45px;
    text-align: center;
}
.dropdown .dd{
    /* none是隐藏，不是hidden */
    /* display: none; */
    width: 100%;
    height: 465px;
    background-color: #c81623;
}
.dropdown .dd ul li{
    position: relative;
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    padding-left: 10px;
}
.dropdown .dd ul li a{
    font-size: 14px;
    color: #fff;
}
/* 鼠标经过li，li变背景颜色 */
.dropdown .dd ul li:hover{
    background-color: #fff;
}


/* 鼠标经过li，但是a变颜色 */
.dropdown .dd ul li:hover a{
    color: #c81623;
}
/* 用定位，不用margin */
.dropdown .dd ul li::after{
    position: absolute;
    right: 10px;
    font-family: 'icomoon';
    content: '';
    color: #fff;
    padding-right: 10px;
}
.navitems ul li{
   float: left;
}
/* 给apadding,这样鼠标按范围可以更大,用户体验会更好 */
.navitems ul li a{
    height: 45px;
    color: #333333;
    font-size: 16px;
    padding: 0 25px;
    line-height: 45px;
}
.footer{
    padding-top: 30px;
    height: 415px;
    background-color: #f5f5f5;
}
.mod_service{
    height: 80px;
    border-bottom: 1px solid #ededed;
}
.mod_service ul li{
    float: left;
    width: 235px;
    padding-left: 35px;
}
.footer h5{
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) -253px -2px no-repeat;
    margin-right: 6px;
}
.footer h4{
    font-size: 14px;
    color: #333333;
}
.footer p{
    font-size: 12px;
    color: #666;    
}
.mod_help{
    height: 187px;
    border-bottom: 1px solid #ededed;
    padding-top: 20px;
}
.mod_help dl{
    float: left;
    margin: 0 57px;
}
.mod_help dl dt{
    color: #333333;
    font-size: 16px;
    margin-bottom: 13px;
}
.mod_help dl:last-child{
    text-align: center;
}
.mod_copyright{
    padding-top: 20px;
    text-align: center;
}
.mod_copyright .links a{
    margin: 0 9px;
}
.copyright{
    padding-top: 15px;
    font-size: 12px;
}